from core.api_util import api_util
from utils.response_util import process_response


def login(json_data,header_fixture):
    """
    后台登录
    :param json_data:
    :return:
    """
    response = api_util.post_data(headers=header_fixture,json=json_data)
    return process_response(response)